import * as service from "@/service"

const prefix = "/pro"

// 查询token
export function getToken(data) {
    return service.fetch.post({
        url: `${prefix}/login`,
        data
    })
}

// 查询用户信息
export function getUserInfo() {
    return service.fetch.post({
        url: `${prefix}/getUserInfo`
    })
}